using System;
using UnityEngine;

namespace DA.AnimGraph.Editor {
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class AGToolAttribute : Attribute {
        public readonly string menu;
        public readonly string path;

        public AGToolAttribute(string menu, string path) {
            this.menu = menu;
            this.path = path;
        }
    }

    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class AGBatchToolAttribute : Attribute {
        public readonly string menu;
        public readonly string path;

        public AGBatchToolAttribute(string menu, string path) {
            this.menu = menu;
            this.path = path;
        }
    }

    public interface IAGTool {
        void Execute(AGEContext ageContext);
    }

    public interface IAGBatchTool {
        void Execute();
    }

}
